home *** CD-ROM | disk | FTP | other *** search
- SPACING(3I) Last changed: 4-13-99
-
-
- NNAAMMEE
- SSPPAACCIINNGG - Returns the absolute spacing of real model numbers near the
- argument value
-
- SSYYNNOOPPSSIISS
- SSPPAACCIINNGG (([XX==]_x))
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- UNICOS, UNICOS/mk, IRIX systems
-
- CF90, MIPSpro 7 Fortran 90
-
- SSTTAANNDDAARRDDSS
- Fortran
-
- DDEESSCCRRIIPPTTIIOONN
- The SSPPAACCIINNGG intrinsic function returns the absolute spacing of real
- model numbers near the argument value. It accepts the following
- argument:
-
- _x Must be of type real
-
- SSPPAACCIINNGG is an elemental function. The name of this intrinsic cannot
- be passed as an argument.
-
- NNOOTTEESS
- This routine is implemented on CRAY T90 systems that support IEEE
- arithmetic by calls to scalar-only library routines.
-
- RREETTUURRNN VVAALLUUEESS
- The result type and type parameter are the same as _x.
- _e-_p
- The result has the value _b , where _b, _e, and _p are as defined in the
- real number model, provided this result is within range. If not, the
- result is the same as that of TTIINNYY (_x). For more information on the
- real number model, see the MMOODDEELLSS(3I) man page.
-
- EEXXAAMMPPLLEESS
- Example 1: A CRAY C90 system returns the following values for the
- SSPPAACCIINNGG intrinsic function:
-
- SPACING(3.0)= 2.8421709430404E-14
- SPACING(3.0_4)= 2.384185791015625E-7
- SPACING(3.0_8)= 2.8421709430404E-14
- SPACING(3.0_16)= 1.009741958682895E-28
-
- The first is default type real, and the others are defined.
-
- Example 2: An IRIX system returns the following values for the
- SSPPAACCIINNGG intrinsic function:
-
- SPACING(3.0)= 2.384185791E-7
- SPACING(3.0_4)= 2.384185791E-7
- SPACING(3.0_8)= 4.44089209850062616E-16
- SPACING(3.0_16)= 2.46519032881566189191165176650870697E-32
-
- The first is default type real, and the others are defined.
-
- Example 3: A UNICOS/mk system returns the following values for the
- SSPPAACCIINNGG intrinsic function:
-
- SPACING(3.0)= 4.44089209850062616E-16
- SPACING(3.0_4)= 2.384185791015625E-7
- SPACING(3.0_8)= 4.44089209850062616E-16
- SPACING(3.0_16)= 4.44089209850062616E-16
-
- Example 4: A CRAY T90 system that supports IEEE floating-point
- arithmetic returns the following values for the SSPPAACCIINNGG intrinsic
- function:
-
- SPACING(3.0)= 4.44089209850062616E-16
- SPACING(3.0_4)= 4.44089209850062616E-16
- SPACING(3.0_8)= 4.44089209850062616E-16
- SPACING(3.0_16)= 3.85185988877447171E-34
-
- Note that there is no KKIINNDD==44 value and that default is KKIINNDD==88.
-
- SSEEEE AALLSSOO
- MMOODDEELLSS(3I)
-
- _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l for the printed version of this
- man page.
-